{if $page}
<div id="page">
<a href="?page=1">首页</a>
<a href="?page={$page.currentPage-1}">上一页</a>
<a href="?page={$page.currentPage+1}">下一页</a>
<a href="?page={$page.pages}">尾页</a>
页次：{$page.currentPage}/{$page.pages} 共有 {$page.totalItems} 条记录
</div>
{/if}
